package com.woniuxy.signing.common;/**
 * @auther 黄磊
 * @2022/8/7 15:18
 **/

/**
 * @author : [天下第一剑]
 * @version : [v1.0]
 * @createTime : [2022/8/7 15:18]
 */

public enum SigningResultCode {
    VUEN_NOTEXIST(4030, "该场馆不存在"),
    SIGNING_ISEXIST(4031,"该教练已经和该场馆签约,且在有效期限内"),
    URI_NOTEXIST(4032,"URL没有资源"),
    SIGNING_TIMEFAIL(4033,"合同结束时间比开始时间早或者相等"),
    SIGNING_TIEMFAIL1(4034,"合同生效时间比当前时间早"),
    SIGNING_NOTEXIST(4035,"合约不存在,解约失败"),
    AGREEMENT_ISDEFAULT(4036,"合约有误操作失败"),
    SIGNING_ISEXPIRE(4047,"合约已经解除,不可以再次操作,解约失败"),
    COACH_NOTEXIST(4048,"教练不存在,签约失败"),
    COACH_NOTSIGN(4049,"教练没有签约场馆,签约失败"),
    COACH_ISSIGNMENT(4049,"教练已经签约,签约失败");
    private int code;
    private String message;

    SigningResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
